// https://gitlab.com/qxip/homer-app-server/-/blob/master/system/errorcodes/errorcodes.go#L22

// Messages Codes for Errors

export const ErrorCodes = {
  UserRequestFailed: 1002,
  UserSettingsFailed: 1003,
  MappingHepSubFailed: 1004,
  InsertDashboardFailed: 1005,
  GetDashboardFailed: 1006,
  GetDashboardListFailed: 1007,
  GetDBNodeListFailed: 1008,
  GetAuthTypeListFailed: 1009,
  DeleteDashboardFailed: 1010,
  MappingSchemaFailed: 1011,
  HepSubRequestFailed: 1012,
  GetAgentSubFailed: 1013,
  GetAuthTokenFailed: 1014,
  DeleteAdvancedAgainstFailed: 1015,
  GetAdvancedAgainstFailed: 1016,
  MappingSchemaByUUIDFailed: 1017,
  MappingRecreateFailed: 1018,
  DeleteMappingSchemaFailed: 1019,
  SmartHepProfileFailed: 1020,
  DashboardNotExists: 1021,
  HomeDashboardNotExists: 1022,
  Unauthorized: 1023,
  IncorrectPassword: 1024,
  UserCreationFailed: 1025,
  UserDeletionFailed: 1026,
  SuccessfullyCreatedUser: 1027,
  UserRequestFormatIncorrect: 1028,
  UserGroupInformationError: 1029,
  ResyncFormatIncorrect: 1030,
  ResyncBadSourceNode: 1031,
  FileRequestFormatNotFound: 1032,
  AgentStorageNotFound: 1033,
  StenographerException: 1034,
  UserRequestBadValueInside: 1035,
  ShareLinkGeneratorError: 1036,
  ShareLinkNotExistsError: 1037,
  ShareLinkBadDataError: 1038,
  UserReportZipGenerationError: 1039,
  UIVersionFileNotExistsError: 1040,
  MarshalingConventionsError: 1041,
  BadPcapDecodingError: 1042,
  UnknownError: 5001,
};


// export enum ErrorCodes {
//   UserRequestFailed = 1002,
//   UserSettingsFailed = 1003,
//   MappingHepSubFailed = 1004,
//   InsertDashboardFailed = 1005,
//   GetDashboardFailed = 1006,
//   GetDashboardListFailed = 1007,
//   GetDBNodeListFailed = 1008,
//   GetAuthTypeListFailed = 1009,
//   DeleteDashboardFailed = 1010,
//   MappingSchemaFailed = 1011,
//   HepSubRequestFailed = 1012,
//   GetAgentSubFailed = 1013,
//   GetAuthTokenFailed = 1014,
//   DeleteAdvancedAgainstFailed = 1015,
//   GetAdvancedAgainstFailed = 1016,
//   MappingSchemaByUUIDFailed = 1017,
//   MappingRecreateFailed = 1018,
//   DeleteMappingSchemaFailed = 1019,
//   SmartHepProfileFailed = 1020,
//   DashboardNotExists = 1021,
//   HomeDashboardNotExists = 1022,
//   Unauthorized = 1023,
//   IncorrectPassword = 1024,
//   UserCreationFailed = 1025,
//   UserDeletionFailed = 1026,
//   SuccessfullyCreatedUser = 1027,
//   UserRequestFormatIncorrect = 1028,
//   UserGroupInformationError = 1029,
//   ResyncFormatIncorrect = 1030,
//   ResyncBadSourceNode = 1031,
//   FileRequestFormatNotFound = 1032,
//   AgentStorageNotFound = 1033,
//   StenographerException = 1034,
//   UserRequestBadValueInside = 1035,
//   ShareLinkGeneratorError = 1036,
//   ShareLinkNotExistsError = 1037,
//   ShareLinkBadDataError = 1038,
//   UserReportZipGenerationError = 1039,
//   UIVersionFileNotExistsError = 1040,
//   MarshalingConventionsError = 1041,
//   BadPcapDecodingError = 1042,
//   UnknownError = 5001,
// }
